﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HistoryMgr.aspx.cs" Inherits="HNQXYJ.HN_History.HistoryMgr" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
        <link href="../CSS/SimpleContent.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/public.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
      <form id="form1" runat="server">
  <div  style=" height:800px; background-color:White;">
    <table width="100%" border="0" cellspacing="0" cellpadding="0"  >
                    <tr>
                        <td class="rtbg" valign="top">
                            <span>历史信息》
                                </span>
                        </td>
                    </tr>
                    <tr>
                        <td class="rbg" valign="top">
                            <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">                             
                                <tr>
                                   <td height="5">
                                   </td>
                                </tr>
                                <tr>
                                    <td>
                                        <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
                                            <tr>
                                                <td class="gn">
                                                 历史信息一览表
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <table width="98%"  border="0" cellspacing="0" cellpadding="0" class="dataList2" align="center">
                                           
                                            <thead  >
                                               <tr>
                                                   <th>用户名称</th>    
                                                   <th>终端号码</th>
                                                   <th>发送信息</th>
                                                   <th>是否成功</th>
                                                   <th>发送时间</th>                                                  
                                               </tr>
                                            </thead>
                                            <tbody>
                                                <asp:Repeater ID="RpList" runat="server">
                                                  <ItemTemplate>
                                                     <tr align="center">
                                                       <td  style=" text-align:center;"><%# Eval("UserName") %>   </td>
                                                       <td>  <%# Eval("Phone") %></td>
                                                       <td><%# Eval("Information") %></td>
                                                       <td><%# Eval("IsSuccess") %></td>
                                                       <td><%# Eval("DateAdd") %></td>
                                                      </tr>
                                                  </ItemTemplate>
                                                </asp:Repeater>                                     
                                            </tbody>
                                        </table>
                                    </td>
                                </tr>
                               <tr>
                                 <td>
                                 当前第 <asp:Label ID="LbPageNumber" runat="server" Text="1"></asp:Label>&nbsp;页 共 <asp:Label
                                     ID="LbPageCount" runat="server" Text="23"></asp:Label>

                                 &nbsp;页&nbsp; 
                                     <asp:LinkButton ID="btnPrePage" runat="server" onclick="PrePage_Click" 
                                         CausesValidation="False">前一页</asp:LinkButton>
&nbsp;
                                     <asp:LinkButton ID="btnNextPage" runat="server" onclick="NextPage_Click" 
                                         CausesValidation="False">后一页</asp:LinkButton>
&nbsp;转到<asp:TextBox ID="txtPageNumber" runat="server" Width="41px"  Text="1" ></asp:TextBox>
                                     <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                         ControlToValidate="txtPageNumber" ErrorMessage="*" ValidationGroup="tz"></asp:RequiredFieldValidator>
                                     <asp:CompareValidator ID="CompareValidator1" runat="server" 
                                         ControlToValidate="txtPageNumber" ErrorMessage="*" 
                                         Operator="DataTypeCheck" Type="Integer" ValidationGroup="tz"></asp:CompareValidator>
                                     &nbsp;<asp:Button ID="BtnGo" runat="server" Text="跳 转" onclick="BtnGo_Click" 
                                         ValidationGroup="tz" />
                                   </td>
                               </tr>
                            </table>
                        </td>
                    </tr>
                </table>
         </div>
    </form>
</body>
</html>
